#ifndef CONNECTIONDIALOG_H
#define CONNECTIONDIALOG_H

#include <QDialog>
#include <QMessageBox>
#include <QComboBox>
#include <QMap>
#include <QVariant>
#include <QFileDialog>
#include <QtSql>
#include "ui_connectiondialog.h"

class ConnectionDialog: public QDialog, private Ui::ConnectionDialog
{
Q_OBJECT

public:

ConnectionDialog(QWidget * parent = 0);
~ConnectionDialog();
QMap<QString, QVariant> return_config();

public slots:

void setDatabaseName();

private:

QString app_dir;

};

#endif // CONNECTIONDIALOG_H
